package com.navi.heartbeat.domain;

import com.navi.heartbeat.entity.SystemAlarm;
import com.navi.heartbeat.repository.NaviRepository;
import org.springframework.data.jpa.repository.Query;

public interface IRetHeartbeatRepository extends NaviRepository<SystemAlarm,Integer> {

    @Query("select max(id) from SystemAlarm")
    int findMaxId();

}